package top.mccat.demo.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author Kevin Li
 * @date 2022/9/7
 * @description
 */
@Data
public class EmployeeExcellent {
    private int id;
    @Excel(name = "员工id")
    private int userId;
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "优秀日期", exportFormat = "yyyy-MM")
    private Date excellentDate;
}
